package com.itheima.health.service;

import com.itheima.health.dto.SubmitDTO;
import com.itheima.health.pojo.Order;
import com.itheima.health.vo.OrderMemberSetmealVO;

import java.text.ParseException;

/**
 * 预约Service
 */
public interface OrderService {

    OrderMemberSetmealVO findById(Integer id);
    /**
     * 预约提交
     * @param submitDTO
     * @return
     */
    Order submit(SubmitDTO submitDTO) throws ParseException;
}
